<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<c:if test="${!returnOnlyBody}">
<!DOCTYPE html 
	PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>
			<tiles:getAsString name="title" />
			<tiles:useAttribute name="title" />
		</title>
		<style type="text/css" media="screen">
			@import url("<c:url value="/resources/css/standard.css" />");
		</style>
		<style type="text/css" media="screen">
			@import url("<c:url value="/resources/css/jquery-ui-custom.css" />");
		</style>
		<script type="text/javascript" src="<c:url value="/resources/js/jquery.js" />"></script>
		<script type="text/javascript" src="<c:url value="/resources/js/jquery-ui.js" />"></script>
		<script type="text/javascript" src="<c:url value="/resources/js/jquery-ui-timepicker-addon.js" />"></script>
		<script type="text/javascript" src="<c:url value="/resources/js/json2.js" />"></script>
		
		
	</head>
	<body>
		
		<div id="page">
			
			<div id="header">
				<tiles:insertAttribute name="header" />
			</div><!-- end header -->
			
			<div id="content">
					<tiles:insertAttribute name="body" />
			</div><!-- end content -->
			
			<div id="footer">
				<tiles:insertAttribute name="footer" />
			</div><!-- end footer -->
		
		</div><!-- end page -->

	</body>

</html>
</c:if>
<c:if test="${returnOnlyBody}">
	<tiles:insertAttribute name="body" />
</c:if>

